package com.NHL.events
{
	import flash.events.Event;
	
	public class GlobalEvent extends Event
	{
		public var data:Object;
		public function GlobalEvent(type:String,data:*, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			this.data = data;
			super(type, bubbles, cancelable);
		}
		
		override public function clone():Event
		{
			return new GlobalEvent(type,data,bubbles,cancelable)
		}
		
		override public Function toString():String
		{
			return formatToString("GlobalEvent",type,data,bubbles,cancelable);
		}
	}
}